{ INFORMATICS.MCCME.RU
  Problem statement: http://informatics.mccme.ru/moodle/mod/statements/view3.php?chapterid=2959
  Verdict: Accepted
}
uses SysUtils, Math;
 
var
	n:longint;
 
begin
reset(input,'input.txt');
rewrite(output,'output.txt');
read(n);
write(sign(n));
end.